import 'package:fluro/fluro.dart';

import '../../routers/router_init.dart';
import 'login_page.dart';
import 'account_login_page.dart';

class LoginRouter implements IRouterProvider {
  static String loginPage = "/login";
  static String accountLoginPage = "/account/login";

  @override
  void initRouter(Router router) {
    router.define(loginPage,
        handler: Handler(handlerFunc: (_, params) => LoginPage()));
    router.define(accountLoginPage,
        handler: Handler(handlerFunc: (_, params) => AccountLoginPage()));
  }
}
